package com.mininglamp.app.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mininglamp.app.dao.IUserDao;
import com.mininglamp.app.entity.User;

@Service
public class UserService {

	@Resource
	private IUserDao userDao;

	public List<User> getUsers() {
		return userDao.getUsers();
	}

	public User getUser(int id) {
		return userDao.getUser(id);
	}

}